package xyz.jcat.biz.admin.domain.dto;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Getter
@Setter
public class RoleAddDto {

    @NotBlank(message = "请填写角色名称")
    @Size(min = 2, max = 20, message = "角色名称长度为2~20")
    private String roleName;

}
